package com.lay.dao;

import com.lay.entity.InsurContract;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
 * <p>
 * 保险订单 Mapper 接口
 * </p>
 *
 * @author Lay
 * @since 2022-06-09
 */
public interface InsurContractMapper extends BaseMapper<InsurContract> {

    //根据车牌号查询自己的所有保险
    List<InsurContract> queryInsurContractById(String cid);
    //根据用户id查询订单
    List<InsurContract> queryByUid(Integer uid);
    //根据订单id查询订单
    InsurContract queryByIcId(Integer icId);
}
